﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Utilities;

namespace OutlookAddin
{
    public partial class ViewFriendInfoFrm : DevComponents.DotNetBar.Office2007Form
    {
        public ViewFriendInfoFrm(User user)
        {
            InitializeComponent();
            tbNgaySinh.Text = user.Birth.ToString("dd/MM/yyyy");
            tbDiaChi.Text = user.Address;
            tbEmail.Text = user.Email;
            tbTen.Text = user.Name;
            tbDienThoai.Text = user.Phone;
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
